package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsMemberReceiveAddressDO;
import com.macro.mall.model.ums.UmsMemberReceiveAddressQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsMemberReceiveAddressMapper extends BaseMapper<UmsMemberReceiveAddressDO> {
    long countByExample(UmsMemberReceiveAddressQuery example);

    int deleteByExample(UmsMemberReceiveAddressQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsMemberReceiveAddressDO record);

    int insertSelective(UmsMemberReceiveAddressDO record);

    List<UmsMemberReceiveAddressDO> selectByExample(UmsMemberReceiveAddressQuery example);

    UmsMemberReceiveAddressDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsMemberReceiveAddressDO record, @Param("example") UmsMemberReceiveAddressQuery example);

    int updateByExample(@Param("record") UmsMemberReceiveAddressDO record, @Param("example") UmsMemberReceiveAddressQuery example);

    int updateByPrimaryKeySelective(UmsMemberReceiveAddressDO record);

    int updateByPrimaryKey(UmsMemberReceiveAddressDO record);
}
